﻿<%@ Control Language="c#" Inherits="Portal.AdminMenu" EnableViewState="False" CodeBehind="AdminMenu.ascx.cs" %>
<%@ Register TagPrefix="ucm" TagName="OVM" Src="OverlayMenu.ascx" %>
<div id="mnuBar">
	<ul>
		<asp:Repeater ID="mainMenu" runat="server" OnItemDataBound="tabMenu_ItemDataBound">
			<ItemTemplate>
				<li>
					<asp:HyperLink ID="tabItem" runat="server" />
				</li>
			</ItemTemplate>
		</asp:Repeater>
	</ul>
	<div id="menuContainer" runat="server" style="float: right">
		<div id="mainMenu" class="clearfix">
			<ucm:OVM ID="ovm" runat="server" LanguageRef="EditTabLink_Text">
			<menuitem languageref="EditTabMenu_AddTab" icon="images/add.gif" onclick="OnAddTab"></menuitem>
			<menuitem languageref="EditTabMenu_EditTab" icon="images/edit.gif" onclick="OnEditTab"></menuitem>
			<menuitem languageref="EditTabMenu_DeleteTab" icon="images/delete.gif" onclick="OnDeleteTab"></menuitem>
			<separatoritem />
			<menuitem languageref="EditTabMenu_AddLeftModule" icon="images/add.gif" onclick="OnAddLeftModule"></menuitem>
			<menuitem languageref="EditTabMenu_AddMiddleModule" icon="images/add.gif" onclick="OnAddMiddleModule"></menuitem>
			<menuitem languageref="EditTabMenu_AddRightModule" icon="images/add.gif" onclick="OnAddRightModule"></menuitem>
			</ucm:OVM>
		</div>
	</div>
</div>
<div id="TabMenu_Top" runat="server" class="tabMenu_Top clearfix" style="float: left">
</div>
<div id="subMenu" class="TabMenu_SubTab"  runat="server">
	<asp:Repeater ID="rptSubItem" runat="server" OnItemDataBound="rptSubItem_ItemDataBound">
		<ItemTemplate>
			<span class="<%# ((bool)DataBinder.Eval(Container.DataItem, "CurrentTab"))?"TabMenu_CurrentTab":"TabMenu_Tab" %>">
				<asp:HyperLink ID="tabItem" runat="server" />
			</span>
		</ItemTemplate>
	</asp:Repeater>
</div>
